package com.mall.mapper;

import com.mall.bean.SystemUserRole;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SystemUserRoleMapper {
    //查找用户分配的角色
    List<SystemUserRole> getSyetemUserRole(String user_id);

    void deleteUserRoleByUserId(String user_id);

    void insertUserRole(SystemUserRole userRole);

    void deleteUserRoleByRoleId(String role_id);
}
